<template>
  <div ref="dom" class="canvas"></div>
</template>
<script lang="ts">
import { _SceneManager } from "@/webgl";
import Vue from "vue";
export default Vue.extend({
  mounted() {
    this.$nextTick(async function () {
      _SceneManager.init(this.$refs.dom as HTMLLIElement);
    });
  },
});
</script>

<style lang="scss">
.canvas {
  width: 100%;
  height: 100%;
}
</style>
